package com.taysear.domain;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class Bus implements Serializable{

	private Integer busId;
	private String registrationNumber;
	private String make;
	private String model;
	private String tonnage;
	private Integer millage;
	private String chasisNumber;
	private Integer nextService;
	private Integer lastfuel;
	private String available;
	private Date availableDate;
	private String conditionDescription;
	private Date conditionDescriptionDate;
	private Station fromStation;
	private Station toStation;
	
	public Integer getBusId() {
		return busId;
	}
	public void setBusId(Integer busId) {
		this.busId = busId;
	}
	public String getRegistrationNumber() {
		return registrationNumber;
	}
	public void setRegistrationNumber(String registrationNumber) {
		this.registrationNumber = registrationNumber;
	}
	public String getMake() {
		return make;
	}
	public void setMake(String make) {
		this.make = make;
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public String getTonnage() {
		return tonnage;
	}
	public void setTonnage(String tonnage) {
		this.tonnage = tonnage;
	}
	public Integer getMillage() {
		return millage;
	}
	public void setMillage(Integer millage) {
		this.millage = millage;
	}
	public String getChasisNumber() {
		return chasisNumber;
	}
	public void setChasisNumber(String chasisNumber) {
		this.chasisNumber = chasisNumber;
	}
	public Integer getNextService() {
		return nextService;
	}
	public void setNextService(Integer nextService) {
		this.nextService = nextService;
	}
	public Integer getLastfuel() {
		return lastfuel;
	}
	public void setLastfuel(Integer lastfuel) {
		this.lastfuel = lastfuel;
	}
	public String getAvailable() {
		return available;
	}
	public void setAvailable(String available) {
		this.available = available;
	}
	public Date getAvailableDate() {
		return availableDate;
	}
	public void setAvailableDate(Date availableDate) {
		this.availableDate = availableDate;
	}
	public String getConditionDescription() {
		return conditionDescription;
	}
	public void setConditionDescription(String conditionDescription) {
		this.conditionDescription = conditionDescription;
	}
	public Date getConditionDescriptionDate() {
		return conditionDescriptionDate;
	}
	public void setConditionDescriptionDate(Date conditionDescriptionDate) {
		this.conditionDescriptionDate = conditionDescriptionDate;
	}
	public Station getFromStation() {
		return fromStation;
	}
	public void setFromStation(Station fromStation) {
		this.fromStation = fromStation;
	}
	public Station getToStation() {
		return toStation;
	}
	public void setToStation(Station toStation) {
		this.toStation = toStation;
	}
	@Override
    public String toString() {
        return registrationNumber;
    }
}
